mt8173: Fix long latency issue of mtcmos contorl
authorFan Chen <[email protected]>
Tue, 8 Dec 2015 02:46:47 +0000 (10:46 +0800)
committerYidi Lin <[email protected]>
Tue, 26 Jan 2016 05:55:15 +0000 (13:55 +0800)
commitbb99828deea51624adb635ea73a91adee1aad579
tree4e17fa5d23c3916d7a2ff63cef592aca23ce7206
parent44c49087905a9968b28f4b045c8b85fd002f21fd
mt8173: Fix long latency issue of mtcmos contorl

We found sometimes mtcmos operation is too long in spm (>1ms),
so update a new version to fix it.
I verified with 5 hours power_LoadTest, every mtcmos control
can finish in 500us (average is 100~200us).

Change-Id: I47b712bf9898870f4abcecbea47e01b9786231d4
Signed-off-by: Fan Chen <[email protected]>
plat/mediatek/mt8173/drivers/spm/spm_mcdi.c